package com.xyh.pojo;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @TableName student
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Student implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer smpno;

    /**
     * 
     */
    private String sname;

    /**
     * 
     */
    private Date sdate;

    /**
     * 
     */
    private Integer sno;

    @TableField(exist = false)
    private Class aClass;

    private static final long serialVersionUID = 1L;


    public Student(String sname, Date sdate, Integer sno) {
        this.sname = sname;
        this.sdate = sdate;
        this.sno = sno;
    }
}